package appUtil

import (
	"github.com/gogf/gf/v2/util/grand"
	"os"
)

// GetRootDir 返回示例 D:\gowww\src\wails\mywails
func GetRootDir() (dir string, err error) {
	dir, err = os.Getwd()
	return
}

func GenerateMqttClientId(prefix string) string {
	return "server" + prefix + grand.S(6)
}
